package my.edu.ai.conifg;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AIConfig {

    @Bean
    ChatClient chatClient(ChatClient.Builder builder){
        //defaultSystem，设置默认系统信息
//        return builder.defaultSystem("你是一个erp系统的顾问，解决员工的各种问题")
//                .build();
        return builder
                .build();
    }
}
